package com.hanamaki.oop.demo01;

public class StuMain {

    public static void main(String[] args) {

        Student xh = new Student();
        xh.name = "小红";
        xh.age = 56;

        System.out.println(xh.name);
        System.out.println(xh.age);
        System.out.println(xh.toString());
        xh.say();

        Student xm = new Student();
        xm.name = "小明";
        xm.age = 34;

        System.out.println(xm.name);
        System.out.println(xm.age);
        xm.say();

    }

}
